package com.yqs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Ye QS
 * @version 0.1
 * @className Emp
 * @description 员工实体类
 * @date 2024/7/29 11:34
 * @since jdk11
 */
@Data
//@AllArgsConstructor
public class Emp implements Serializable {
    private Integer empId;
    private String empName;
    private Double salary;
    private Date hireDate;
    private Dept dept;

//    public Emp(Integer empId, String empName, Double salary) {
//        this.empId = empId;
//        this.empName = empName;
//        this.salary = salary;
//    }
}
